package repo

import (
	"server/global"

	"gorm.io/gorm"
)

type Identifiable interface {
	GetID() string
}

type Repository[T any] struct {
	DB *gorm.DB
}

func NewRepositoryApp[T any]() *Repository[T] {
	return &Repository[T]{
		DB: global.GA_DB,
	}
}
